CTXFeed\V5\Helper\ProductHelper D

Total Complexity 216
Dependencies 12
Dependents 22
Total lines 1,179
Lines of code 608
Logical lines of code 377
Comment lines 375
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
get_dynamic_attribute()
D
24
55 151
price_format()
B
44 20 44
get_product_gallery()
A
47 11 35
evaluate_mattribute()
A
53 12 19
get_product_attribute()
A
50 10 28
determine_variable_product()
A
55 10 17
get_product_object()
A
48 9 32
get_custom_field()
A
49 9 29
get_product_meta()
A
55 8 17
add_prefix_suffix()
A
55 8 17
str_replace()
S
59 6 12
get_category_mapping()
S
52 5 24
get_tp_translate()
S
57 5 17
count_identifiers_in_attributes()
S
57 4 15
determine_mapping_array()
S
68 5 6
get_default_product_variation()
S
59 4 14
get_attribute_mapping()
S
60 4 11
should_encode_attribute()
S
50 2 33
format_custom_field_value()
S
63 3 10
get_product_taxonomy()
S
62 3 10
build_attribute_output()
S
64 3 10
validate_date()
S
67 3 7
get_attribute_value_by_type()
S
67 3 7
get_ids()
S
70 2 6
get_acf_field()
S
67 2 7
fetch_product_attribute()
S
69 2 6
count_identifiers_in_mattributes()
S
63 2 9
is_rank_math_active()
S
78 2 3
overwrite_identifier_exists()
S
69 2 6
get_price_with_tax()
S
69 2 6